
class Payment4BuyOrder:
    def __init__(self, *args, **kwargs):
        self.id = kwargs.get('id', 0)
        self.buy_order = kwargs.get('buy_order')
        self.pay_date_time = kwargs.get('pay_date_time')
        self.pay_type = kwargs.get('pay_type', 1)
        self.amount = kwargs.get('amount', 0.0)
        self.pay_flow_seq = kwargs.get('pay_flow_seq')

    def __str__(self):
        return (f'Payment4BuyOrder<id:{self.id}, buy_order:{self.buy_order}, pay_date_time:{self.pay_date_time}, '
                f'pay_type:{self.pay_type}, amount:{self.amount}, pay_flow_seq:{self.pay_flow_seq}>')
